﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="MyOA.UI._Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>OA登陆</title>
    <script type="text/javascript" src="js/jquery-1[1].3.2.js"></script>
      <script type="text/javascript" src="js/ymPrompt/ymPrompt.js"></script>
      
    <script src="js/ymPrompt/tooltips.js" type="text/javascript" language="javascript"></script>
    
    <script type="text/javascript" src="js/login.js">  </script>  
    <link href="CSS/Login.css" rel="stylesheet" type="text/css" />
    <link href="js/ymPrompt/skin/qq/ymPrompt.css" rel="stylesheet" type="text/css" />
     
   
    
</head>
<body>
    <form id="form1" runat="server" defaultfocus="txtLoginName">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    
    <div id="body" runat="server" style="background-color:White;">
   
 
    
        <div id="head">
            <img src="images/Title.jpg" alt=""/>
        </div>
        
        
        <div id="content">
            <div id="login">
                <span id="userLogin">用户登陆</span>
                <div id="loginFrame" >
                   
                    <!--设置圆角用的边线--->
                     <span class="m4"></span>
                     <span class="m3"></span>
                     <span class="m2"></span>
                     <span class="m1"></span>
                     
                     <div class="body">
                        <div id="loginName">
                           <span> 用户名：</span><asp:TextBox ID="txtLoginName" runat="server" onmouseover="ddrivetip('请输入用户名',100)"
                                        onmouseout="hideddrivetip()"   ></asp:TextBox>
                        </div>
                        
                        <div id="loginPwd">
                           <span> 密&nbsp;&nbsp;&nbsp;码：</span><asp:TextBox ID="txtLoginPwd" runat="server" TextMode="Password" onmouseover="ddrivetip('请输入密码',100)"
                                        onmouseout="hideddrivetip()"></asp:TextBox>
                        </div>
                        
                        <div id="validate">
                            <span>验证码：</span><asp:TextBox ID="txtValidate" runat="server"></asp:TextBox><img alt="" src="ValiDateNumber.aspx" id="imgValidate" /><a href="#" onclick="changeCode()">刷新</a>
                        </div>
                        
                        <div id="loginningFrame">
                            <asp:Button ID="btnLogin" runat="server" Text="登陆" 
                                onclick="btnLogin_Click" OnClientClick="return check()" onMouseOver="btnMouseOver()" onMouseOut="btnMouseOut()" CssClass="btnOut"/> 
                            
                        </div>
                         
                       </div> 
                       
                       <!--设置圆角用的边线--->
                    <span class="m1"></span>
                     <span class="m2"></span>
                     <span class="m3"></span>
                     <span class="m4"></span>
                 
                </div>
            </div>
        </div>
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnLogin"  EventName="Click"/>
        </Triggers>
    </asp:UpdatePanel>
    
    <cc1:DropShadowExtender ID="DropShadowExtender1" runat="server" TargetControlID="body" Rounded="True" TrackPosition="True" Opacity="0.2" Width="10" Radius="7">
    </cc1:DropShadowExtender>
    </form>
    
  
</body>
</html>
